home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / renegade / rgsus15c.zip / SUS_SHOW.DOC < prev    next >
Text File  |  1996-05-08  |  20KB  |  392 lines

  1.  ▄──┐▄  ┬▄──┐▄──┐▄──┐    ▄  ┬▄──┐▄──┐▄──┐    ▄──┐▄  ┬ ▄──┐▄   ┬▄──┐▄──┐▄──┐▄──┐
  2.  ▀──┐_  │_──┘_─┤ _─┬┘    _  │▀──┐_─┤ _─┬┘    ▀──┐_──┤ _  │_ │┌┘_   _──┤▀──┐_─┤
  3.  ═──┘═──┘═   ═──┘═ ┴     ═──┘═──┘═──┘═ ┴     ═──┘═  ─ ═──┘═─┴┘ ═──┘═  ┴═──┘═──┘
  4.                  ┐┌        ┐ ┌─
  5.                  └┘ERSION  ┴∙─┘C  (c) 1993-1996, Jeff Rosowski.
  6.  
  7.                        -= PURPOSE AND INTRODUCTION =-
  8.  
  9. This program was written for the purpose of creating configurable Top Ten
  10. bulletins containing user information.
  11.  
  12. The original release was for VBBS, but since I never ran the software, and
  13. didn't plan on it, continued support didn't seem like a logical choice. 
  14. Why did I write it for VBBS?  Well it's a long story, I was bored, etc...  
  15. Having recently switched to Renegade, I found that I needed a top ten user
  16. stats again.  So I grabbed a copy of the RECORDS.H file, and the rest is
  17. history.
  18.  
  19. UnRegistered Features:
  20.  
  21. * Creates 14 different bulletins (both in ANSI and ASCII format) based on user
  22.   information contained in the Renegade USERS.DAT.
  23. * Creates Top: Callers, Users with Time Logged, Message Posters, E-Mail
  24.   Post/Call Ration, Posters, Feedback Posts, User File Points, Uploaders,
  25.   Uploaders in K, Downloaders, Downloaders in K, Uploader & Downloader
  26.   Ratio, and Top Files Downloaded
  27. * Lets you specify the number of users to put in each bulletin.  
  28.   (i.e. Top Ten, Top Thirty, etc..)
  29. * Allows for sysop-specified user exemptions for EACH bulletin created.
  30. * Sysop definable Reward/Penalize system for number One users in all bulletins
  31.   (file points, time, or both).
  32. * Posts a message to the sysop via the short messages when Super User Showcase
  33.   rewards users.
  34. * Sysop defined frequency period for the built-in Reward/Penalize system.
  35.   (daily, weekly, montly, etc.).
  36. * Sends the Top User from each bulletin a sysop defined e-mail to congradulate
  37.   (or ridicule) the user for their achievement.
  38. * Sysop definable filenames for all bulletins.
  39. * Easy to configure and view all bulletins.
  40. * Give your bulletins a customised looks by using bulletin templates.
  41. * Doesn't fix your morning coffee.
  42.  
  43. Registered Only Features:
  44. * Good Karma.
  45.  
  46.                             -= REGISTRATION =-
  47.  
  48. This program is Freeware.  You don't have to register it, and there are no
  49. extra features that you get by doing so.  But if you do for some reason wish
  50. to let me know it's a cool program send $5.00 or even an e-mail message.
  51. I've done a lot of work on the program and it's nice to know that people use
  52. it and like the program.  Also as a side note.  In the entire time this
  53. program has been available for renegade I have only received money for ONE
  54. registration, and that was from a personal friend of mine.  I received $75
  55. worth of registrations over three years for the VBBS version of SUS, of which
  56. there was only ONE version done back in 93.  I would probably still be receiving
  57. registrations for it, but I've moved 5 times since then and i don't think the
  58. mail is keeping up with me anymore.  Goes to show you people who run Renegade
  59. are cheap bastards.  Oh well.  
  60.          
  61.                             -= DISCLAIMER =-
  62.  
  63. This piece of work is in no way guaranteed for any particular use or purpose,
  64. implied or expressed, whether privately or commercially. It runs error free on
  65. the systems it was programmed and tested on, but that is as far as anything
  66. set in stone will allow. If you choose to use this utility, you do so at YOUR
  67. OWN RISK. Krux may NOT be held liable for any damage sustained to your
  68. equipment or information contained therein by your voluntary use of Super
  69. User Showcase.
  70.  
  71. In other words, if your hard drive some how crashes because of this program...
  72. Your screwed dude.  But then that's not likely to happen, but I have to say
  73. it otherwise people point fingers at me for every problem in the world.
  74.  
  75.                           -= GETTING STARTED =-
  76.  
  77. What you will need to run Super User Showcase:
  78.  
  79.         * an IBM compatible computer
  80.         * RENEGADE version 04-05 or later
  81.         * about 700 k free disk space.
  82.  
  83.  
  84. What the Super User Showcase Archive contains:
  85.  
  86.    * SUS_SHOW.EXE  - Super User Showcase Executable
  87.    * SUS_DNLD.MSG  ┬ These are the e-mail message templates. For use in the
  88.    * SUS_CALL.MSG  │ reward/penalty feature, and must be located in the
  89.    * SUS_CRED.MSG  │ directory that SUS is run in.
  90.    * SUS_DNLK.MSG  │
  91.    * SUS_DRAT.MSG  │ Instructions for proper alterations are included in each
  92.    * SUS_MAIL.MSG  │ separate file.
  93.    * SUS_MSGS.MSG  │
  94.    * SUS_POST.MSG  │
  95.    * SUS_TIME.MSG  │ 
  96.    * SUS_UPLD.MSG  │ 
  97.    * SUS_UPLK.MSG  │
  98.    * SUS_URAT.MSG  │
  99.    * SUS_FILE.MSG  ┴
  100.    *  SAMPLE1.TNS  ┬ Sample Template files for bulletin customisation.
  101.    *  SAMPLE1.TSC  │
  102.    *  SAMPLE2.TNS  ┴
  103.    * SUS_SHOW.DOC  - This file
  104.    *   README.1ST  - A quick start
  105.    *  REGFORM.TXT  - Registration form
  106.    * WHATSNEW.TXT  - A revision history  
  107.  
  108.  ** MAIN MENU **
  109.  
  110. You can place the SUS files in the the Renegade main directory. Upon start up,
  111. SUS looks for RENEGADE.DAT and the configuration file called SUS_SHOW.CFG. If
  112. one is not present in the directory where SUS was *run from*, a configuration
  113. file is then created. Each time the program is run after the initial time, the
  114. bulletins are automatically created in the directory specified in the
  115. configuration file. To change these settings later on, type:
  116.  
  117. SUS_SHOW /C
  118.  
  119. This will place you once again in the set-up main menu. SUS can be run in a
  120. nightly event, or as a logoff event by placing:
  121.  
  122. SUS_SHOW
  123.  
  124. somewhere in the batch file. Just be sure that SUS_SHOW.CFG is in the same
  125. directory as SUS_SHOW.EXE, and that you specify the full path and drive, and
  126. all will be well.
  127.  
  128.  ** CONFIG **
  129.  
  130. Choose this option from the main menu by moving the highlight bar across the
  131. top display with the cursor keys. Once this choice is highlighted, press enter.
  132. Each field comes configured with default information.  The default values are
  133. automaticly setup from your RENEGADE.DAT file.  All else is purely your own
  134. decision.  You can move among the fields with the following keys:
  135.  
  136.      UP/DOWN - moves from field to field in the same column
  137.   LEFT/RIGHT - moves left and right inside a field
  138.        ENTER - advances one field to the right
  139.   CTRL-ENTER - retreats one field to the left
  140.          INS - insert text in a field (default is ON)
  141.       PAGEUP - moves to the first field at the top of the CONFIG screen,
  142.                and up one page in the EXEMPTIONS screen.
  143.     PAGEDOWN - moves to the first field in the second section of the CONFIG
  144.                screen, and down one page in the EXEMPTIONS screen.
  145.  
  146. BBS:            This is the name of your BBS, and should appear exactly the way
  147.                 it did on the registration form.
  148.  
  149. Sysop:          Yes, you type your very own name, right here.  Also should be
  150.                 exactly as it appeared on the registration form.
  151.  
  152. Top Number:     This is the configurable number of users to place in the Top
  153.                 bulletins generated.
  154.  
  155. Reg. Code:      The code you will enter when you register your version
  156.                 supplied by the author.
  157.  
  158. Period:         Length of days passed when you wish SUS to either Reward or
  159.                 Penalize the Top User in each bulletin. You can make this system
  160.                 not work at all (0), work on a daily basis (1), weekly (7),
  161.                 monthly (30), or virtually any length of time you so desire.
  162.                 When run on the day specified, SUS will deduct or add to the
  163.                 users account as specified later on. OR, you can run SUS with
  164.                 the command line parameter of /R to reward/penalize the users
  165.                 before this period has been reached.
  166.  
  167. Post:           Defaults to 'No'. This toggle tells SUS to send or not to send
  168.                 your form letter to the Top User of each bulletin.
  169.                 Possibilities are either 'N' or 'Y', but a yes response only
  170.                 counts for registered versions.
  171.  
  172. Credits:        Amount to be added or subtracted from the user's account once
  173.                 SUS determines that 'Period' has passed. This amount can be
  174.                 either positive or negative. A negative amount will result in
  175.                 withdrawal from the user's account.
  176.  
  177. Time:           Same as above, only with a specified amount of time added or
  178.                 subtracted to the user's account via the Time Bank.
  179.  
  180. Name:           What title you would like to appear in the first line of each
  181.                 bulletin SUS creates. The defaults are listed on the screen,
  182.                 and may be left as is, or changed to your own preference. The
  183.                 phrase "for BBS NAME" is appended right after the title of each
  184.                 bulletin. This is an example of one possible result:
  185.                 "Top Ten Callers For CrossBonZ Inc. BBS"
  186.                 
  187. FileBasename:   This is the basename for each of the files created or used by
  188.                 SUS. The filename specified here will be duplicated for the
  189.                 ANSI/ASCII bulletins, and message file templates corresponding
  190.                 to each bulletin (these were included in the archive).
  191.  
  192.                 **NOTE** If you change any of these defaults, you must rename
  193.                 the actual files containing the e-mail and bulletin templates
  194.                 to match your changes here. If you do not do this, they will
  195.                 not be properly recognized by SUS.
  196.  
  197. FileExtension:  The actual file extensions SUS will give to differentiate the
  198.                 ANSI screens from the ASCII screens. The default is .ANS, .ASC,
  199.                 and .MSG, but can be changed to provide maximum flexibility.
  200.                 These files should be placed in the same directory as the
  201.                 SUS_SHOW.CFG file. Leaving any one of these blank will tell
  202.                 SUS to skip the creation of this bulletin or post.  Likewise,
  203.                 having the file not be there will tell SUS not to post the
  204.                 message.
  205.  
  206.                 **NOTE** For the Bulletin Templates, the extensions .TNS and
  207.                 .TSC for the ANSI and ASCII bulletin respectively.
  208.  
  209.  
  210.  ** EXEMPT LIST **
  211.  
  212. This is the screen where you may enter the users you wish to be exempted from
  213. the bulletins. For instance, the Sysop would totally skew the percentages on
  214. the e-mail bulletin since he or she would naturally be the one individual
  215. sending the most. Or, if you use a credit system, you may grant extra credits
  216. to certain users (such as visiting sysops), and would not want to make the
  217. other users jealous by letting them see this. Of course ALL exemptions are
  218. discretionary.
  219.  
  220. CTMAEFRUPDNBW:   These are the letters corresponding to the list appearing in the
  221.                  far right hand colomn, and are the toggles for making the
  222.                  applicable user exempt from the indicated bulletin. To toggle
  223.                  the letter, either type the individual letter itself, the
  224.                  letter X, the spacebar, or the minus (-) key. If the letter is
  225.                  toggled ON the bulletin will NOT include the user, OFF and the
  226.                  user WILL be included. The meanings are as follows:
  227.  
  228.                                 C = number of calls
  229.                                 T = total time on
  230.                                 M = messages posted
  231.                                 A = post/call ratio
  232.                                 E = E-mails sent
  233.                                 F = Feedback sent
  234.                 R = total user credits
  235.                                 U = uploads
  236.                                 P = uploads in K
  237.                                 D = downloads
  238.                                 N = downloads in K
  239.                                 B = upload ratios (best)    { indicates who is
  240.                                 W = download ratios (worst) { a file leech
  241.  
  242. UserName:       This is the user's correctly spelled handle. The presence of
  243.                 capital letters is ignored, but SUS must have the correctly
  244.                 spelled name in this field.
  245.  
  246.                 **NOTE** If a user has Pipe Color Codes in their name, (A big
  247.                 thing around this part, and a real pain for the sysop as
  248.                 nearly all programs DO NOT like this)  you do not have to
  249.                 enter them here.  Super User Showcase filters out pipe codes
  250.                 in the user names.
  251.  
  252.       TAB:      This will insert a blank entry on the highlighted line.
  253. SHIFT-TAB:      This will delete the highlighted entry.
  254.  
  255.  ** GENERATE BULLETINS **
  256.  
  257. This is straight forward. Choosing this will send SUS to create each bulletin.
  258. Be patient though, SUS must search through your entire user file for the users
  259. appearing in the exemption list and exclude them from the creation of the
  260. bulletins. This takes time, proportionate to the size of this file.
  261.  
  262.  ** VIEW BULLETINS **
  263.  
  264. This will create each bulletin, and then show it to you upon completion of
  265. each. The SPACEBAR aborts the processing of the specified bulletin, and ESC
  266. aborts all processing. The output to this function is screen only, no files
  267. are created or overwritten.
  268.  
  269.  ** QUIT **
  270.  
  271. Bloody obvious, if you need an explanation for this one, type FORMAT C:
  272. right now and save yourself the hassel.  <grin>
  273.  
  274.                            -= Templates =-
  275.  
  276. You can make your bulletins completely customisable by using the ANSI
  277. Templates for the bulletins, so you are no longer stuck with with default
  278. screens.  You can create a template with any standard editor, provided it does
  279. not interfere with the files and function data.  The Draw works well.  Just
  280. make sure to save the files without a line lenght.  Everything else is
  281. translated verbatum.  You could likely create an Avatar file if you wished.
  282. And so the text is also translated by Renegade, Pipe color codes are also
  283. valid.
  284.  
  285. Note that with The Draw and other ANSI Art programs, some manual fine tuning
  286. to the colors may be necesary to get the desired look.  In most cases these
  287. are minute, and not really even noticed unless you were looking for them,
  288. but then there are other times when it doesn't.  An example of this is when
  289. a color changes in the bar chart and the drawing program wrote the file so
  290. that there was no color change expected.  Just insert the color codes with
  291. and editor that lets you work with escape codes, and you should be fine, or
  292. take and modify the color to something else, and change the color via the
  293. in function capabilities.
  294.  
  295. Templates are mainly done by using a combination of funtions and fields.  
  296. Simmilar to MCI codes, however there are significantly fewer, and tend to be
  297. more compled in nature.
  298.  
  299. I have proveded a sample template in the SUS archive for you to look at and
  300. get ideas from.  Of course one looks exacly like the default screen, as I
  301. rather liked how they look.  But I have also included a more flamboyant
  302. version for ideas.  
  303.  
  304.   **Syntax**
  305.  
  306. The basic syntax for the fields is a group of funtions folowed by a delimitor.
  307.  
  308. @Function_@Function____________delimiter
  309.  
  310. There are six basic functions for insterting titles, dates, names, etc.. into
  311. the Bulletin.  They are as follows.
  312.  
  313.    @T    - Title.  This is the standard "'Bulletin title` for 'BBS Name`" that
  314.            is in the default screens.  However you can usually substitute this
  315.            easily with a fancier title as there are individual templates for
  316.            each bulletin.
  317.  
  318.    @D[x] - This is the in the default format 'WeekDay, Month Day, Year`
  319.            or optionally in other formats if you provide a parameter.
  320.  
  321.                0 = 'Monday, December 25, 1993`
  322.                1 = 'December 25, 1993`
  323.                2 = 'Dec 25, 1993`
  324.                3 = '25 Dec 93`
  325.                4 = '12/25/93`
  326.  
  327.   @Nx    - Name in number x slot.  This simply is the users handle for each
  328.            of the ten positions.
  329.  
  330.   @Ax    - The coresponding numberic value for the x numbered slot.
  331.  
  332.   @Bx["Char"[,col]["Pattern"[,col]]] - Configurable bar graph for the x position.
  333.                                        This takes a bit of explaining, so we 
  334.            will go through what each section is for.  The x is for which of the
  335.            10 values to use.  The items in [] are optional parameters.  The first
  336.            parameter is the bar character to use.  This is a single character
  337.            enclosed with "" quotation marks.  The third parameter is teh optional
  338.            color of the bar, which is a ',` followed by a numberic value.  This
  339.            is a calculated value wich ranges from 0 to 127, and uses the following
  340.            formula, col=(background * 16) + foreground.  So blue letters on a grey
  341.            background would be (7 * 16) + 1 = 113.  This parameter defaults to
  342.            whatever the current color is.  The next parameter is the background
  343.            fill patter to use.  This may be any lenght and is repeated as needed
  344.            to fill the area.  The default pattern is just a blank space for nothing
  345.            behind the bars.  However the default bulletins have the pattern "    ª".
  346.            after that you can optionally change the color of the filled background
  347.            to something other than the current color which was used for the bars.
  348.            You can see an example of this in the Sample files included with this
  349.            program.
  350.  
  351.    @Px   - Shows the percentage of the total top ten that slot x has in the format
  352.            ##.#%.  
  353.  
  354. Each function is terminated with a deliminator.  The deliminator tells the program
  355. specificly what type of justification to use.  And is either the lower case letters,
  356. r for right, l for left, c for center, or j for fully justified.  The centering and
  357. justification is based on the field lenght.  Excess text is truncated.  Added space
  358. is padded with spaces.
  359.  
  360. So a sample field would be:
  361.  
  362. @N1_____________________@A1j
  363.  
  364. Note that it doesn't really matter where the functions are placed in the field when
  365. using multiple functions per field, as they will in the end wind up at the same
  366. positions.  But it helps clear things up.  Also the text in between the functions
  367. the fields is ignored, so any characters (except a delimitor, @ symbol or " symbol)
  368. can be present, but underscores clean things up a bit in the templates.
  369.  
  370. Also note that if there is an invalid function in a field, it and the funtions before
  371. it are tossed, and outputed as is.  Also if a function occurs, and a deliminator is not
  372. found within 80 characters, the text is outputed as is.  So this let's you have things
  373. like Internet addresses, etc... in the text with minimal problems.  There are cases
  374. where you may create a valid function, but odds are against it.
  375.     
  376.                            -= COPYRIGHTS =-
  377. Renegade - Cott Lang.
  378. PKUNZIP - PKWARE Inc.
  379.  
  380.                         -= CONTACTING THE AUTHOR =-
  381.  
  382. The author may be reached at:
  383.  
  384.             U.S. Mail     Krux
  385.                           522 Prescott
  386.                           Las Vagas, NV  89110
  387.  
  388.              Internet     krux@310.genesplicer.org
  389.  
  390. Please feel free to contact me with any comments or criticisms, or if you
  391. just want to BS about nothing in particlar.
  392.